//
//  DataSource.swift
//  TheWatermark
//
//  Created by sharui on 2021/6/4.
//

import Foundation
import SwiftUI

struct WatermarkData {
    /// 输出路径
    var path: String = ""
    /// 文字
    var text: String = "测试文字"
    /// 文字大小
    var textFontSize: Double = 15
    /// 文字水平距离
    var textHorizontalSpace: Double = 50
    /// 文字垂直距离
    var textVerticalSpace: Double = 50
    /// 文字颜色
    var textColor: Color = Color.red.opacity(0.2);
    /// 文字旋转角度
    var textAngle: Double = 0
    /// 文字是否随机大小
    var randomTextFont: Bool = false
    /// 文字是否随机颜色
    var randomTextColor: Bool = false
    
}
